<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <title>Carrier Template Management</title>
</head>
<body>
<div class="container-fluid my-5">
    <h1 class="mb-4">Carrier Template Management</h1>
    <form>
        <div class="row g-3 align-items-end d-xl-flex my-3" id="carrierTemplateCondition">

        </div>
    </form>
    <div id="carrierTemplateOperation" role="group" class="btn-group" aria-label="client">
    </div>

    <table class="table table-striped" id="carrierTemplateTable">
        <thead>
        </thead>
        <tbody>
        </tbody>
    </table>
    <div id="pagination" class="d-flex justify-content-between align-items-center pagination"></div>
</div>

<div class="modal fade" id="carrierTemplateModal" tabindex="-1" aria-labelledby="modalLabel" aria-hidden="true">
    <div class="modal-dialog  modal-fullscreen">
        <form id="carrierTemplateDataForm" class="modal-content needs-validation" novalidate>
            <div class="modal-header">
                <h5 class="modal-title" id="modalLabel">Add Carrier Template</h5>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <div class="modal-body  row">
                <dl>
                    <dt>Name</dt>
                    <dd>Carrier name</dd>
                    <dt>Sheet</dt>
                    <dd>The sheet position of Excel. Start from 0</dd>
                    <dt>Bill #</dt>
                    <dd>The column header of bill #</dd>
                    <dt>Bill Date</dt>
                    <dd>The column header of bill date</dd>
                    <dt>Date format</dt>
                    <dd>The format of date</dd>
                    <dt>Tracking #</dt>
                    <dd>The tracking # column, it maybe multi-columns that enclosed by double quotes and split by comma.</dd>
                    <dt>Currency</dt>
                    <dd>Three letters of currency or the column of currency that prefix with @</dd>
                    <dt>Charge</dt>
                    <dd>The column of charges that enclosed by double quotes and split by comma.</dd>
                    <dt>Charge Value</dt>
                    <dd>The column name of charge value. If you leave it with blank, will use charge to cross the data.</dd>
                    <dt>Weight</dt>
                    <dd>The column name of weight</dd>
                    <dt>Weight Unit</dt>
                    <dd>It support LB and KG, or the column name prefix with @</dd>
                    <dt>Size</dt>
                    <dd>The column names of size, </dd>
                    <dt>Size Unit</dt>
                    <dd>It support INCH and CM, or the column name prefix with @</dd>
                </dl>
                <input type="hidden" id="carrierTemplateId"/>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" data-bs-dismiss="modal"> Cancel</button>
                <button type="button" class="btn btn-primary" id="saveCarrierTemplateBtn"> Save</button>
            </div>
        </form>
    </div>
</div>
<script src="../js/common.js"></script>
<script src="js/template.js"></script>
</body>
</html>